<?php
/* @var $this FirstAidFireProtectionEquipmentController */
/* @var $model FirstAidFireProtectionEquipment */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'first-aid-fire-protection-equipment-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'type'); ?>
		<?php echo $form->textArea($model,'type',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'capacity'); ?>
		<?php echo $form->textField($model,'capacity'); ?>
		<?php echo $form->error($model,'capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no_of_unit'); ?>
		<?php echo $form->textField($model,'no_of_unit'); ?>
		<?php echo $form->error($model,'no_of_unit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'with_ps_mark'); ?>
		<?php echo $form->textField($model,'with_ps_mark'); ?>
		<?php echo $form->error($model,'with_ps_mark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'with_iso_mark'); ?>
		<?php echo $form->textField($model,'with_iso_mark'); ?>
		<?php echo $form->error($model,'with_iso_mark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'properly_maintained'); ?>
		<?php echo $form->textField($model,'properly_maintained'); ?>
		<?php echo $form->error($model,'properly_maintained'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'conspiciuosly_located'); ?>
		<?php echo $form->textField($model,'conspiciuosly_located'); ?>
		<?php echo $form->error($model,'conspiciuosly_located'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'accessible'); ?>
		<?php echo $form->textField($model,'accessible'); ?>
		<?php echo $form->error($model,'accessible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'other_type_provided_if_any'); ?>
		<?php echo $form->textArea($model,'other_type_provided_if_any',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'other_type_provided_if_any'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->